module.exports = function(router) {
    router.map({
        '/': {
            component: function(resolve) {
                require(['../views/camp.vue'], resolve);
            },
            title:"露营地"
        },
        '/campdetail/:index': {
            name:"campdetail",
            component: function(resolve) {
                require(['../views/campdetail.vue'], resolve);
            },
            title:"详情"
        },
        '/sendcamp':{
            component:function(resolve){
                require(['../views/camp.send.vue'],resolve);
            },
            title:"发布营地"
        }
    })
}
